﻿using UnityEngine;
using UnityEditor;

using System;
using Hont;

public class GameDateTime_Test5_ToString : MonoBehaviour
{
    [ContextMenu("ToString Test1")]
    public void Test1()
    {
        var timeSpan = TimeSpan.Parse("1.08:00:00");
        Debug.Log("dateTime:  " + timeSpan.ToString());

        var timeSpan2 = GameTimeSpanParser.Parse("1.08:00:00");
        Debug.Log("dateTime:  " + timeSpan2.ToString());
    }

    [ContextMenu("ToString Test2")]
    public void Test2()
    {
        var dateTime = new DateTime(1, 2, 3, 4, 5, 6);
        Debug.Log("dateTime:  " + dateTime.ToString());

        var dateTime2 = new GameDateTime(1, 2, 3, 4, 5, 6);
        Debug.Log("dateTime:  " + dateTime2.ToString());
    }
}
